<?php
namespace inheritance;

class Triangle extends Shape
{
	
	public function __construct($width, $height)
	{
		echo '<p>Constructing Triangle</p>';
		$this->width = $width;
		$this->heigth = $height;	
	}
	public function sayHello()  // parent has a  public abstract function sayHello();
	{							// You must have a function with name "sayHello" !!!
		echo '<p>Hello! </p>';
	}
	
}